home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: Dave Hand <70621.3624@CompuServe.COM>
- Newsgroups: comp.lang.c++
- Subject: Re: Poor floating point code in BC++
- Date: 2 Jan 1996 19:16:03 GMT
- Organization: Singular Software, Inc.
- Message-ID: <4cc09j$6fm$1@mhafc.production.compuserve.com>
- References: <4ca5bk$ff@fountain.mindlink.net>
-
- > That there is a function call is no surprise. X is
- float and n
- > is int. A conversion is necessary. From the name, that looks
- like what the routine called does.
-
- No, all that is necessary is the fistp instruction. The
- coprocessor has a special instruction to convert a float or
- double to an int.
- double to an int.
-